<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Public.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Unsubscribe from list 
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	 <h2>
		Unsubscribe from list</h2>
	<%=	Html.ValidationSummary("Creation was unsuccessful. Please correct the errors and try again.") %>
	<% using (Html.BeginForm())
	{ %>
	<div>
		<fieldset>
			<legend>Recipient information</legend>
			<p>
				<label for="email">
					E-mail:</label>
				<%= Html.TextBox("email") %>
				<%= Html.ValidationMessage("email") %>
			</p>			
			<p>
				<input type="submit" value="Unsubscribe from list" />
				<%= Html.ActionLink("Subscribe", "subscribe") %>
			</p>
		</fieldset>
	</div>
	<% } %> 
</asp:Content>
